package com.evil.common.account.dto.user.department;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
public class UserDepartmentReqDTO {

    /**
     * id
     */
    @NotNull(message = "部门id不能为空")
    private Long departmentId;

    /**
     * 禁用  0 || 启用  1
     */
    @NotNull(message = "职位id不能为空")
    @Max(value = 1, message = "职位ID异常")
    private Integer isManage;
}
